package com.zp.self.module.level_1_问道.III_多线程.JUC;

import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.ReentrantLock;

/**
 * @author ：by Zeng Peng
 * @date ：Created 2022/8/23 22:57
 * @description ：
 */
public class ReenTrantLock分析 {
    public static void main(String[] args) throws InterruptedException {
        ReentrantLock lock = new ReentrantLock(false);
        Condition condition = lock.newCondition();
        condition.await();
        lock.lock();
    }
}
